export interface ISysDataPrivilege {
	ID?: string | null;
	EntityType: string | null;
	TargetType: '角色' | '岗位' | '部门';
	TargetId: string | null;
	Scope: '仅本人' | '本部门' | '本部门及下级' | '指定部门' | '全部' | '自定义';
	CustomCondition: string | null;
	Priority: number;
	IsEnabled: boolean;
	GroupId: string | null;
	JobPositionId: string | null;
	Roles: string | null;
}

export interface ISysDataPrivilegeVm {
	Entity: ISysDataPrivilege;
	GroupId: string | null;
	ActionName?: string | null;
	IsMyApprove?: boolean | null;
}

export interface ISysDataPrivilegeView extends ISysDataPrivilege {}

export interface ISysDataPrivilegeQuery {
	EntityType?: string | null;
	TargetType?: number | null;
	Scope?: number | null;
	IsEnabled?: boolean | null;
}
